home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Precision Software Appli…tions Silver Collection 1
/
Precision Software Applications Silver Collection Volume One (PSM) (1993).iso
/
demos
/
symph_3.exe
/
INSTALL.BAT
< prev
next >
Wrap
DOS Batch File
|
1992-06-17
|
6KB
|
225 lines
echo off
cls
REM Installation program for Lotus Symphony Release 3 Demonstration (U.S.)
REM (C) 1992 Copyright Show & Tell, Inc.
break=on
batchman window 1, 1, 80, 25, 30h,-
batchman window 3, 6, 8, 4, 0Fh
batchman window 3, 17, 50, 2, 3Fh,
batchman setcursor 4,6
batchman cecho, C Lotus
batchman setcursor 7,5
batchman cecho, C Install
batchman setcursor 4, 17
batchman cecho, C Symphony Release 3 Autodemo
batchman setcursor 5, 17
batchman cecho, C ........................................................
batchman setcursor 8, 17
batchman cecho, C This procedure creates a subdirectory named SYM3DEMO on
batchman setcursor 9, 17
batchman cecho, C your hard disk and copies the demonstration files
batchman setcursor 10, 17
batchman cecho, C into that subdirectory.
batchman setcursor 12, 17
batchman cecho, C The demo requires approximately 675 KB of disk space.
batchman setcursor 16, 17
batchman cecho, C Would you like to install the demonstration? (Y or N) [ ]
batchman setcursor 24, 20
batchman cecho, C Press [CONTROL-BREAK] to Exit Installation
batchman setcursor 16, 72
batchman getkey 'yn'
IF ERRORLEVEL 2 goto NOINST
IF ERRORLEVEL 1 goto DRIVE
goto end
:NOINST
batchman cecho, C N
goto end
:drive
batchman cecho, C Y
batchman setcursor 18, 16
batchman cecho, C Which disk drive would you like to copy the demo to? [ ]
batchman setcursor 19, 16
batchman cecho, C (Please enter a drive C through F)
batchman setcursor 18, 71
batchman getkey 'cdef'
IF ERRORLEVEL 5 goto end
IF ERRORLEVEL 4 goto installf
IF ERRORLEVEL 3 goto installe
IF ERRORLEVEL 2 goto installd
IF ERRORLEVEL 1 goto installc
IF ERRORLEVEL 0 goto end
goto END
:old
if x%1==x goto :error
if x%2==x goto :error
:installc
batchman cecho, C C
batchman driveexist c:
IF ERRORLEVEL 1 goto nextc
IF ERRORLEVEL 0 goto NoDrive
goto nextc
:nextc
free c: 675000
IF ERRORLEVEL 1 goto NoSpace
batchman window 7, 15, 60, 15, 30h
batchman setcursor 13, 17
batchman cecho, C Installing the Symphony Autodemo on C:\SYM3DEMO...
batchman setcursor 24, 19
batchman cecho, C Press [CONTROL-BREAK] to cancel installation.
batchman setcursor 25,1
batchman direxist c:\SYM3DEMO
IF ERRORLEVEL 1 goto copyc
md C:\SYM3DEMO >nul
goto copyc
:copyc
COPY DEMO.BAT C:\SYM3DEMO >NUL
COPY SYM3DEMO.EXE C:\SYM3DEMO >NUL
c:
cd \SYM3DEMO
goto FINISH
if errorlevel 1 goto :end
goto end
:installd
batchman cecho, C D
batchman driveexist d:
IF ERRORLEVEL 1 goto nextd
IF ERRORLEVEL 0 goto NoDrive
goto nextd
:nextd
free d: 675000
IF ERRORLEVEL 1 goto NoSpace
batchman window 7, 15, 60, 15, 30h
batchman setcursor 13, 17
batchman cecho, C Installing the Symphony Autodemo on D:\SYM3DEMO...
batchman setcursor 24, 19
batchman cecho, C Press [CONTROL-BREAK] to cancel installation.
batchman setcursor 25,1
batchman direxist d:\SYM3DEMO
IF ERRORLEVEL 1 goto copyd
md D:\SYM3DEMO >nul
goto copyd
:copyd
COPY DEMO.BAT D:\SYM3DEMO >NUL
COPY SYM3DEMO.EXE D:\SYM3DEMO >NUL
d:
cd \SYM3DEMO
goto FINISH
if errorlevel 1 goto :end
goto end
:installe
batchman cecho, C E
batchman driveexist e:
IF ERRORLEVEL 1 goto nexte
IF ERRORLEVEL 0 goto NoDrive
goto nexte
:nexte
free e: 675000
IF ERRORLEVEL 1 goto NoSpace
batchman window 7, 15, 60, 15, 30h
batchman setcursor 13, 17
batchman cecho, C Installing the Symphony Autodemo on E:\SYM3DEMO
batchman setcursor 24, 19
batchman cecho, C Press [CONTROL-BREAK] to cancel installation.
batchman setcursor 25,1
batchman direxist e:\SYM3DEMO
IF ERRORLEVEL 1 goto copye
md E:\SYM3DEMO >nul
goto copye
:copye
COPY DEMO.BAT E:\SYM3DEMO >NUL
COPY SYM3DEMO.EXE E:\SYM3DEMO >NUL
e:
cd \SYM3DEMO
goto FINISH
if errorlevel 1 goto :end
goto end
:installf
batchman cecho, C F
batchman driveexist f:
IF ERRORLEVEL 1 goto nextf
IF ERRORLEVEL 0 goto NoDrive
goto nextf
:nextf
free f: 675000
IF ERRORLEVEL 1 goto NoSpace
batchman window 7, 15, 60, 15, 30h
batchman setcursor 13, 17
batchman cecho, C Installing the Symphony Autodemo on F:\SYM3DEMO...
batchman setcursor 24, 19
batchman cecho, C Press [CONTROL-BREAK] to cancel installation.
batchman setcursor 25,1
batchman direxist f:\SYM3DEMO
IF ERRORLEVEL 1 goto copyf
md F:\SYM3DEMO >nul
goto copyf
:copyf
COPY DEMO.BAT F:\SYM3DEMO >NUL
COPY SYM3DEMO.EXE F:\SYM3DEMO >NUL
f:
cd \SYM3DEMO
goto FINISH
if errorlevel 1 goto :end
goto end
:nodrive
batchman window 7, 15, 60, 17, 30h
batchman setcursor 14, 22
batchman cecho, C The specified disk drive does not exist!
batchman setcursor 15, 17
batchman cecho, C Please try installing the demo on an existing drive.
batchman setcursor 24, 20
batchman cecho, C Press [ESCAPE] to return to DOS...
batchman setcursor 25, 40
batchman getkey
IF ERRORLEVEL 1 goto end
goto end
:noinstall
batchman window 7, 15, 60, 17, 30h
batchman setcursor 14, 15
batchman cecho, C The INSTALL program does not work for the specified drive!
batchman setcursor 15, 24
batchman cecho, C Please try installing the demo on Drives C-F.
batchman setcursor 24, 20
batchman cecho, C Press [ESCAPE] to return to DOS...
batchman setcursor 25, 40
batchman getkey
IF ERRORLEVEL 1 goto end
goto end
:nospace
batchman window 7, 15, 60, 17, 30h
batchman setcursor 14, 25
batchman cecho, You do not have enough diskspace!
batchman setcursor 15, 24
batchman cecho, You need 675 KB to install the demo.
batchman setcursor 24, 20
batchman cecho, C Press [ESCAPE] to return to DOS...
batchman setcursor 25, 40
batchman getkey
IF ERRORLEVEL 1 goto end
goto end
:FINISH
cls
echo
echo Installation completed.
echo
echo To run the Symphony Release 3 Autodemo type DEMO then [RETURN].
echo
goto DONE
:END
cls
:DONE